How did the technological advancements at the end of the 1800s affect life in America?